﻿<%@ Page Title="测评结果查询-首家汽车行业人才测评系统" Language="C#" MasterPageFile="~/Enterprise/SiteEnterprise.Master"
    AutoEventWireup="true" CodeBehind="EvaluationResult.aspx.cs" Inherits="EvaluationSystem.EvaluationResult" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <p>
                请选择测评项目:<asp:DropDownList runat="server" ID="ddlActivity" Width="180px" AutoPostBack="True"
                    OnSelectedIndexChanged="ddlActivity_SelectedIndexChanged" CssClass="controlstyle">
                </asp:DropDownList></p>
                <asp:GridView ID="grVEvaluationResult" runat="server" AutoGenerateColumns="False"
                    CellPadding="4" DataKeyNames="tester_sn" ForeColor="#333333" GridLines="None"
                    Width="100%" OnRowDataBound="GridView1_RowDataBound" HorizontalAlign="Center"
                    AllowSorting="True" OnSorting="grVEvaluationResult_Sorting">
                    <FooterStyle BackColor="#63C1CD" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundField HeaderText="序号" />
                        <asp:TemplateField HeaderText="选择">
                            <ItemTemplate>
                                <asp:CheckBox ID="CB_Select" runat="server" AutoPostBack="false" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="tester_sn" HeaderText="序列号" ReadOnly="True"
                            Visible="false" />
                        <asp:BoundField DataField="tester_name" HeaderText="姓名" ReadOnly="True"
                            Visible="true" />
                        <asp:BoundField DataField="tester_email" HeaderText="联系邮箱"
                            Visible="true" />
                        <asp:BoundField DataField="tester_application" HeaderText="测评职位"
                            Visible="true" />
                        <asp:BoundField DataField="tester_teststarttime" HeaderText="测评时间" ReadOnly="true"
                            SortExpression="tester_teststarttime" Visible="true" />
                        <asp:BoundField DataField="tester_matching" HeaderText="适配度" ReadOnly="true" SortExpression="tester_matching"
                            Visible="true" />
                        <asp:HyperLinkField DataNavigateUrlFields="tester_sn" DataNavigateUrlFormatString="~\Report\GenPdfReport.aspx?sn={0}"
                            HeaderText="查看报告" Text="查看" Target="_blank"/>
                        <asp:BoundField DataField="tester_dealer" HeaderText="经销商名称" ReadOnly="true"
                            Visible="true" />
                    </Columns>
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" 
                        VerticalAlign="Middle" Height="30px" />
                    <EmptyDataTemplate>
                        您好！当前没有测试者完成测试,请确保将该测评项目的序列号告诉测试者进行答题。
                    </EmptyDataTemplate>
                    <EditRowStyle BackColor="#999999" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                   
                    <HeaderStyle BackColor="#63C1CD" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White"/>
                </asp:GridView>
                <asp:CheckBox ID="CB_SelectAll" runat="server" AutoPostBack="true" Text="全选" OnCheckedChanged="btnSelAll_Click" />
                <asp:Button ID="btnExport" runat="server" Text="导出Excel" onclick="btnExport_Click" />
                <asp:Button ID="btnZipRpt" runat="server" Text="下载PDF报告" onclick="btnZipRpt_Click"/>
</asp:Content>
